//==============================================================================================//
// Classname:
//      GlobalLock
//
//==============================================================================================//
// Description:
//      Implemenents a global lock that can be used during creating the tensor flow graph
//
//==============================================================================================//

#pragma once

//==============================================================================================//

#include <thread>
#include <mutex>

//==============================================================================================//

class GlobalLock
{
	//functions

	public:

		GlobalLock();
		static void getLock();
		static void releaseLock();


	//static variables

	public:
	

	private:

		static std::mutex* mutex;

};


//==============================================================================================//
